#include "UDPClient.h"


void CUDPClient::Send(const CString &InMessage,const SIPAddress & IP, uint16_t Port)
{
    Send(InMessage.ToUtf8String(),IP,Port);
}

void CUDPClient::Send(const CString8 &InMessage,const SIPAddress & IP, uint16_t Port)
{
    auto Data = InMessage.GetData();
    Send(*(TVector<uint8_t> *)&Data,IP,Port);
}